using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace au.Swindles.CustomerEnquiryService.ObjectLayer
{
    public class Customer
    {
        private string _customerName = string.Empty;
        private int _customerID = 0;
        private int _creditRating = 0;
        private string _reason = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public Customer()
		{
			
		}
        public Customer(string pCustomerName, int pCustomerID, int pCreditRating, string pReason)
        {
            _customerID = pCustomerID;
            _customerName = pCustomerName;
            _creditRating = pCreditRating;
            _reason = pReason;
        }

        /// </summary>
        public string CustomerName
        {
            get {return _customerName;}
            set { _customerName = value; }
        }

        public int CustomerID
        {
            get { return _customerID; }
            set { _customerID = value; }
        }

        public int CreditRating
        {
            get { return _creditRating; }
            set { _creditRating = value; }
        }

        public string Reason
        {
            get { return _reason; }
            set { _reason = value; }
        }
     
    }
}
